import axiosq from '@/api/axios'
const SERVICE_URL = '/article'

export const findArticleData = params => {
  return axiosq.request({
    url: SERVICE_URL+'/list',
    params: params, 
    method: 'get'
  })
}

export const saveArticle = params => {
  return axiosq.request({
    url: SERVICE_URL+'/save',
    data: params, 
    method: 'post'
  })
}

export const deleteArticle = params => {
  return axiosq.request({
    url: SERVICE_URL+'/delete',
    params: params, 
    method: 'get'
  })
}
